Only process unchecked/checked tickets when selecting/unselecting all tickets.
Added jQuery Cookies plugin.
Save and fetch selected tickets from cookie.
Recheck selected tickets when page loads.