close election modified to publish result and changed the status of
election