@etiennesegonzac 
I dislike we use -1 to imply homescreen is the current displayed app :/

I hope we could revisit stack manager design later.