Functions order changed according to menu