IDE-1230 Fix some bugs of UseDefaultLocation and UseSdkLocation.

    Remove enablement service and add validation service
    Instead of disabling the action or checkout, error message will be
    displayed.
IDE-1230 Source formatting