Bug fix: back button on last panel was not working