Removed unused lines.
On 'delete history' a dialog is shown if the user really want to delete all data.
Added overall time to theme table for sorting. Also added order by overall time to getThemeCursor. Removed unused methods.
Added new theme dialog with parent spinner. Root theme will be saved with an parent id of -1. Get theme returns now empty string if called with -1.