fixed crash on double button press