solve button delay