UI changes

replaces notification button with a switch and made some small db
changes.