bug fixed

FuncEnd works now correct with all buttons