Changed how lines are toggled and toggle buttons are styled (now uses class 'inactive').
Which lines are hidden is remembered when update button is clicked.