Fix previous commit (Fix some apps not starting snapped directly when it is set)

forgot to check if the extra exists first, throwing lots of exceptions
Optimize checking of halo flag & movable preferences
(Attempted) Fix for TitleBar going under status bar for TouchWiz devices

revert if doesn’t work.
(Attempted) Fix for closing apps on shows an animation black screen glitch

revert if not working