Use event and command binding together