Changed the logic for including images for main menu

Signed-off-by: Marcin Wiatr <mail.wichura@gmail.com>