Fixed loading of preferences and displaying of <select> fields