Fix bug when there's only one app and it's not the current one.