Added support for apps that reset immersive mode during usage (such as
Dolphin Browser). Also cleaned up some repeated code and improved
efficiency by not executing hooked code if the particular app is not
relevant to the force immersive mode setting.