Refactor likes show/hide handling.