adding buttons and slider to setting screen