Fixing the body of toggleMute()

Signed-off-by: Liam M <archimedespi3141@gmail.com>