clean up after count update, check for localStorage