Add button to spend ap on gui