methods integrated in android classes
music plays when activity is switched and stops onDestroy()