button and number picker functions