updated settings to use preferencefragment etc