You could use onKeyEvent to change the label:
function onKeyEvent(key as String, press as Boolean) as Boolean
handled = false
if press then
if (key = "right") then
' here goes your code
handled = true
else if (key = "left") then
' here goes your code
handled = true
end if
end if
return handled
end function
https://github.com/e1ioan/
http://rokucam.com