Refactor file name checking to make it re-useable
...
Edit book: Add button to easily insert <img> tag while editing HTML
Edit book: Fix error when renaming the html file currently displayed in the preview panel and that file is not the file being currently edited