added swipe gestures to TaskAutoCompleteTextView to clear and to select most likely task.
fixed DatabaseController to properly close Cursors to avoid crashes due to "Could not allocate CursorWindow" exception