Use shiny with event handlers instead of reactivity