changed track.delete to track.destroy in tracks controller destroy method to keep with rails conventions
fixed the track index, while deleting track issue. Now the specific track index is adjusted not all the tracks