adding new settings to gui
refactoring button creation