add function disable button