Added preferences.glade
Removed code for preferences from app.glade