add buttons "next" and "pref"