Fixed orientation bug by adding configChanges attribute to the manifest