adding ui-hover and ui-pressed states