added SettingsApplied event
implemented opening book on the last opened page