Fix getCurrentLevel, start fixing chrome back button bug