SmartCover: Cover open/close action

Changing the way of showing the smartcover view.

When showing keyguard goto smartcover view
When not showing keyguard device goes to sleep

Signed-off-by: dragon <dragon7780@hotmail.nl>