WebUI: Some changes

> I think you can drop "invert".

The function used in code twice. First time for update check state when the page is loaded (no invert of check state is needed). Second time for update check state when menu item is clicked (invert is needed). If I will drop invert code will be longer for 3 lines.