Now remembers selected list between boards

+bug fix
+re-order code