Fixed preferences layout and reset app.glade