add SelectSource,IsSourceExist,SetTime. Rewrite SameClass.

Tip:function in_array() is very useful.
add condition:IsSourceExist