implementing overflow menu instead hardware's one