application: auto hide launcher if app is integrated in the system

also some smaller cleanups

Change-Id: I10e27e07383a551337eeb29da6cb0c1eebf95e1b