fixed edit flashcard bugs, button color background