Solves the issues for shortcuts not working for all documents
Merge pull request #182 from ChanKaur/chan

Solves the issues for shortcuts not working for all documents