Well, think of it this way. If the user presses A, you want the timer's enabled property to be the opposite of what it currently is.
In Visual Basic, there is a Not keyword which logically negates an expression.
So, you're pseudocode would probably look like this:
If (theButton was A) Then
timer.Enabled = Not Timer.Enabled