Fixed crash in TomahawkMainActivity.