Fix: preferences summaries won't be changed

The preferences summary is fixed to be the first entry of list preferences. This pull request will fix this issue. The code is modified from the Setting Activity template.