adjusted toolbar and added menu to pref button