Might missing static be the reason for the crashes?
This line was not required for reloading menu