Fixed bug when bike activity is stopped by the os