Check tile state before ending game

It is not enough for the tile to have a flower for the game to be over.
It has to be in the pressed state since the user might correctly mark it
with a flag, which will also trigger the state set signal.

Signed-off-by: Marcus Karlsson <mk@acc.umu.se>