added write on stop not full minute
to test: minute_calculator functioning

Signed-off-by: aLekSer <gdocse@gmail.com>