Add Shake,Finish: quit Thread Time

I want to the setting Fragment change into the PreferenceFragment model,
Because PreferenceFragment is better. But I couldn't do it.