Better way to update play button icons

A better way to update the play button icons, which requires less "if" checks and method calls in total.