primary change was in Activity to handle null pointer for hiding soft
keyboard