Error when trying to open tools>preferences