Corrected a bug in the semantic source

Now the panel for the source won't be show when it's already show