added toggle mute button and fixed selected state bug