Added the check for a challenge is compeleted etc. It is now only possible to have 1 challenge of the same name