Organize the UI:toggle_star code
Organize the UI:toggle_unread code