sometimes the railway isn't correctly displayed--you remove the railway but it looks like the railway is still there(actually it's been removed and you may build a new one on that grid) it happens at the junction or one end of a station track.by restarting the game it will display correctly
i enjoyed your game and i look forward to a level select page,i dont know how to use that level custom button