Preference Panel created
Refactor