Fixing importing.  Adding preferences activity.