Added 'runNext' which runs the next application in the stack