Refactoring the set:keyvalue event trigger

- Now each input knows what key and what value to provide