Hi Alive,
This line should be 
NotificationScreen.silent = (value == 0); 
or there will be no sound when received a sms or something related to notification.
Could you have a look please.