Solves retry bug + layout fixes

Solves the bug where user can continue playing on clicking cross
in the dialog that appears when all apples are over.

Solves layout issue where top part of application rendered
incorrectly on medium size displays.