fixed preferences errors
Merge branch 'wip' of https://github.com/tmcyf/tmcyf into wip
Merge branch 'wip' of https://github.com/tmcyf/tmcyf into wip
Added flash messages and redirect for after confirmation.