Delete election function added