webadmin: Fix enabling gluster hooks actions

'Enable' action was getting enable even though
the selected hook is already enabled. This is
fixed now.

Change-Id: Icf5984305986f00a663d35218a3ead86a849fac5
Signed-off-by: Kanagaraj M <kmayilsa@redhat.com>