Fixed a issue with app switcher.
Get rid of warning message introduced in last commit.