rmarkdown window: add refresh button, fix activation on mac