Save and restore state od shiny apps by encoding it in the app's URL