Added a check on menu buttons and on the back button for RecordRideStats
page. Before going to any other page it asks if recording should stop or
not..