Added Preferences dialog and cache hold time.
Added activity for info dialog.