disable sound if selected

Fix Issue #192
implemented fix proposed by @Thorwan