Fixed retaining checkboxes etc when moving between tabs