disable buttons from the past