fixed bug with filemenu update after calculatuon