Fix return to previous app to work even with GEL and with limited mode

This is not the ideal solution as it requires use of get_tasks, but it
is necessary as going back from the launcher doesn't go back to the
previous app