Added touch listeners to function buttons