Used correct writeButton function