Use int instead of enum in PortalActivity