If-Else Block UI working.