Refactor showCheckable