Example implementation of menu callback