PortalKit: modify SpecDirProvider.java to update the return value, and add Lifecycle to handle the status of all the views