   updateStatus: ->
     @messagebox.html('<p>' + @currentMessage() + '</p>')
     if @maze.isFinish([@x, @y, @z])
-      @messagebox.append($('<p></p>').append(@makeTweetActionLink()).append('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class=actionLink href=javascript:location.reload()>play again</a>'))
+      @messagebox.append($('<p></p>').append(@makeTweetActionLink()).append('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;').append(@makePlayAgainActionLink()))
       @disable()
     if [@x, @y, @z] of @maze.portals
       level = @maze.portals[[@x, @y, @z]]

        })
        .append('tweet')

  makeTweetText: ->
    "I solved a #{@maze.dimensions[0]}x#{@maze.dimensions[1]}x#{@maze.dimensions[2]} maze in #{@moves} moves at https://texttheater.net/maze/"



  constructor: (@nextLevel=3) ->
    super([4, 4, 1])
    @start = LevelChooser.waitingPosition[@nextLevel] || LevelChooser.waitingPosition[8]
    # row 0
    @passages[[[0, 0, 0], [1, 0, 0]]] = true
    @passages[[[1, 0, 0], [2, 0, 0]]] = true
