switch case added into tileSelected method