Fix allow method of buttons at the Components page

"Deploy This Environment" and "Add Component" buttons 
were hided after a deployment was finished. This behavior 
is fixed: now those buttons are hidden only during the 
deployment and reappear after the deployment is finished.

Change-Id: I3fad3fd6e30ae676811568326e1b4a7674c1de67
Closes-Bug: #1323637
Merge "Fix allow method of buttons at the Components page"