added preferences.html and preferences.css