Add function to change the texture