added tabBar delegate code

music now starts when i arrive at the music view but i can not get it
to pause