Added reset lottery functionality.