Switching between app parts working