add debounce for back button
prevent popping the first view