Changed multiple select box for database tables to checkboxes