Guard against null cursor since query can return null

Signed-off-by: Greg Meiste <greg.meiste@gmail.com>
Widget now uses ContentResolver to get races. Closes #126

Signed-off-by: Greg Meiste <greg.meiste@gmail.com>