Fix for use when user can select themes

Otherwise we can get `warnings.tpl` from other (than user selected)
theme.
Merge pull request #13 from macik/master

Fix for use when user can select themes