I have the following code. When app started MasterView is opening and then I click a row and going to DetailView. After I\'m changing the tab i