Remove unnecessary template logic

`UpdateUI()` updates the dom based on public/private, so setting the lock icon class in the template is redundant.
Remove unused variable
Fix transposed function names and indentation
Update selector (post-styling) to restore "disable" functionality
Restore user settings "Cancel" action

Per @jfrankl and the "Cancel" button on the user settings page should revert the data but stay on the page. This was in my original PR but somehow got deleted.
Merge pull request #211 from RickMohr/privacy-ui-fixes

Privacy ui fixes