Added preferences for default currency and date interval and bugfixes.

* Fixed rotation bugs with AsyncTaskWithProgressDialog.
* Fixed some rare data losses on rotation.
* Ignored initial onItemSelecteds on the date interval bar spinner due to layout
  and measure changes.
* Revamped access to preferences.