There can be times when you might need the ability in your app to change your service icon according to…