added first handlers for the appbars