Back-end select-all button working