Pedometer float to int problem fixed