* Fixed null reference on orientation change by removing mainApplication
private member.