Settings: Fix possible illegal argument exception

User reported this exception during toggle settings from QS
Just check if receiver where attached before unregister them.

Change-Id: I184042bd05af28dc2ad2272fba25b650ccd2c8c1