preferences updated (handle multiple fragments), bugfix runtime error