Event-handling using observeEvent and eventReactive