Refactor mark read button