Fixed tryState bug, minor changes to OrgmateShell

Context relation in tryState must be proceed first
Changed OrgmateShell getInstant