added button action to open add expense category page and fixed query error