slider bet value returning on button click