Are you sure you are using the following line correctly?

second VAR BYTE [59] 'I WANT TO LIMIT THE TIME

This doesn't limit the byte to 59 it creates an array of 59 bytes. It sounds like you want 1 byte that doesn't go any higher than 59. I would do the following within a loop:

IF UP=0 Then ' Button Up command
While UP=0:Wend
second = v+1
IF second > 59 Then second = 1
LCDOut $FE,1
EndIF