Adding function to change tile layer