Graphic logic and new button functions