Bugfix: of app crash when changed from tabbed view to another and back to tabbed.