Hopefully a better way to not have the action bar displayed and a bit of code clean-up