Fix for erasing value for button