Added state to setImageTint method