Added the funcionality of disabling buttons when are processing.