Finally got it working by removing sender(id)sender from prepareForSegue