Added saving to and loading from database for friend requests, changed default keyboard button to emoji button rather than newline, and fixed crash on exit bug