#21 fixed factoring refresh button bug with clear pressed button