push segue from samples list to new sample is done programitcally with storyboard conected segue.
the addsamplebutton is conected to an action in maples list that checks if headphones are connected before segueing to newsample