Cleaning up unused imports
Adding persistent state into application: should now remember which motivation was last viewed.