Fixed the webcit preferences bug once and for all, using a proper