toggle tab icon based on if there is a note