Moved view debind into event