Update App.js

Fix on name event