Setting up the edit view controller