complete rewrite of the 'AddTrack' button : fix === type check (not working)