Added button (callbacks seems not working yet) and separator;
fix the bar reference by typemap