Fix crash on initial enabling music artwork setting.

Crash was due to CheckMusicListenerPermission referencing getActivity() and it returning null as the user has exited out of the settings before the call was made. Converts to holding a WeakReference to the context and checking if it is null (i.e., the activity has been destroyed) before using it.