check storyboard when checking for xib

added checking in storyboard when checking for xib is selected