Add callback to actions