Fixed the custom cell bug when selecting cell