XMonad - Refactor - Factorize the emacs query to run or raise emacs instance