Implemented loading animation for page action.