removed unnecessary lines which disable all the buttons. (Avoiding double calling)