Bugfix: On second window open, templatesstore does not load(OMS-274)