disable button when calculating + fix for black