Do not rewrite .htaccess file if option is not modified under settings form
Automatically try to add the crontask in settings
(requires `shell_exec` access)

Also fixed some hardcoded `\n` and replaced them by `PHP_EOL`.