Handling Action buttons on challenge detail

- Action buttons should be inactive when challenge completed or have been registered.
- The scope is only on checking/handing the buttons state, and rest flow (reg/submit) will be as current flow

challenge : https://www.topcoder.com/direct/contest/detail.action?projectId=30041845