creating initial button for the stepsize, aswell as putting all the widget initialisation in a separate method