Refactoring DidiSelectItemAtindexPath