how can i store which button was pressed last time among many...

anyone...