Buttons and lives logic