Refactor accessoryView