added activity indicator and fixed unwind segue