init grid menu in main activity