Handling pendown command