refacting speed setting as seekbar integer