Adjust application flow logic
Add HTML5 Page Visible API to charts view